package org.jeecg.modules.core.base.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 车辆表
 * @Author: jeecg-boot
 * @Date:   2021-07-21
 * @Version: V1.0
 */
@Data
@TableName("base_car")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="base_car对象", description="车辆表")
public class BaseCar implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private java.lang.String vehicleNo;
	/**车牌颜色*/
	@Excel(name = "车牌颜色", width = 15, dicCode = "license_plate_color")
	@Dict(dicCode = "license_plate_color")
    @ApiModelProperty(value = "车牌颜色")
    private java.lang.Integer licensePlateColor;
	/**轴数*/
	@Excel(name = "轴数", width = 15, dicCode = "axes_num")
	@Dict(dicCode = "axes_num")
    @ApiModelProperty(value = "轴数")
    private java.lang.Integer axesNum;
	/**车型*/
	@Excel(name = "车型", width = 15)
    @ApiModelProperty(value = "车型")
    private java.lang.String carType;
	/**车型代码*/
	@Excel(name = "车型代码", width = 15)
    @ApiModelProperty(value = "车型代码")
    private java.lang.String modelCode;
	/**所有人*/
	@Excel(name = "所有人", width = 15)
    @ApiModelProperty(value = "所有人")
    private java.lang.String ownerName;
	/**道路运输证字*/
	@Excel(name = "道路运输证字", width = 15)
    @ApiModelProperty(value = "道路运输证字")
    private java.lang.String traword;
	/**道路运输证号*/
	@Excel(name = "道路运输证号", width = 15)
    @ApiModelProperty(value = "道路运输证号")
    private java.lang.String trano;
	/**核发机构*/
	@Excel(name = "核发机构", width = 15)
    @ApiModelProperty(value = "核发机构")
    private java.lang.String gradepcode;
	/**核发日期*/
	@Excel(name = "核发日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "核发日期")
    private java.util.Date graDate;
	/**道路运输证有效期起*/
	@Excel(name = "道路运输证有效期起", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "道路运输证有效期起")
    private java.util.Date startDate;
	/**道路运输证有效期止*/
	@Excel(name = "道路运输证有效期止", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "道路运输证有效期止")
    private java.util.Date endDate;
	/**限重*/
	@Excel(name = "限重", width = 15)
    @ApiModelProperty(value = "限重")
    private java.lang.Double weightLimit;
	/**编码（DEC）*/
	@Excel(name = "编码（DEC）", width = 15)
    @ApiModelProperty(value = "编码（DEC）")
    private java.lang.String coding;
	/**是否锁定*/
	@Excel(name = "是否锁定", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否锁定")
    private java.lang.Integer locking;
}
